<?php /**
 * The header template for xique theme
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 * @subpackage xique
 * @since xique 1.2
 */
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>" />
	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
	
	<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
	<div id="wrapper">
		<div id="header">
			<div id="header-background">
					
					<?php
						include("community_header.html");
					?>
					
					<!-- #xique-header-top -->
			</div><!-- #header-background -->
			<!-- <div id="xique-header-string">
				<div class="xique-header-string-current">
					<div class="string alignleft">
						<h3 class="wrap capitalize"><?php echo the_title() ?></h3>
					</div>
					<div class="string alignright text-right">
						<div class="bread">
							<span class="wrap"><?php do_action( 'xique_set_breadcrumbs' ); ?></span>
						</div>
					</div>
					<div class="clear">
					</div>
				</div>
			</div><!-- #xique-header string -->
			<?php if ( !is_front_page() ) : ?>
			<!--<div id="xique-header-string">
				<div class="xique-header-string-current">
					<div class="string alignleft text-left">
						<div class="bread">
							<span class="wrap"><?php do_action( 'xique_set_breadcrumbs' ); ?></span>
						</div>
					</div>
					<div class="clear">
					</div>
				</div>
			</div>-->
			
			<?php endif; ?>
			<?php if(is_search()): ?>
			<div class="search-img-result">
				<div class="search-img-title">
					<?php the_search_query(); ?>
				</div>
				<div class="the_search-content">
					<span class="the_search_left">
						<?php $allsearch = &new WP_Query("s=$s&showposts=-1"); $key = wp_specialchars($s, 1); $count = $allsearch->post_count; _e(''); echo $count ; wp_reset_query(); ?>
					</span>
					<span class="the_search_right">个结果</span>
				</div>
			</div>
			<?php endif;?>
			<?php if ( is_front_page() ) : ?>
				<div id="xique-slider">
					<?php do_action( 'xique_set_slider' ); ?>
				</div><!-- #xique-slider -->
			<?php endif; ?>
		</div><!-- #header -->
		<section id="page">